package com.broada.apm.service.impl;

import java.util.Date;

import com.broada.apm.ajax.Result;
import com.broada.apm.base.BaseService;
import com.broada.apm.entity.SystemInfo;
import com.broada.apm.service.SystemService;

public class SystemServiceImpl  extends BaseService implements SystemService {

	@Override
	public Result querySystemInfo() {
		Result result = new Result();
		SystemInfo systemInfo = systemLogic.querySystemInfo();
		result.addData("systemInfo", systemInfo);
		return result;
	}
	
	@Override
	public Result querySystemTime() {
		Result result = new Result();
		return result.addData("systemTime", new Date());
	}

}
